package com.example.service.impl;

import com.example.dao.HelpDao;
import com.example.dao.impl.HelpDaoImpl;
import com.example.pojo.Help;
import com.example.service.HelpService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("helpService")
public class HelpServiceImpl implements HelpService {
    @Resource(name = "helpDao")
    public HelpDao helpDao;
    public List<Help> getHelpList() {
        return helpDao.getHelpList();
    }
}
